package com.ccq;

import java.io.IOException;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

//@SpringBootApplication
@EnableScheduling
@ComponentScan
/**
 * 内置tomcat执行写法
 * @author zhoumx
 *
 */
@SpringBootApplication(scanBasePackages= {"com.zlzkj"})
@MapperScan(value = {"com.ccq.mapper","com.zlzkj"})
public class Application{

	public static void main(String[] args) throws IOException {
		SpringApplication.run(Application.class, args);
	}
}
